#include<stdio.h>

typedef struct LinkList {
	int data;
	struct LinkList* next;
}Node, *LinkList;

void InitLink(Node* LHead)
{
	LHead->next = NULL;
}


void Print(LinkList L) 
{
	Node* p = L->next;
	if (L == NULL || L->next == NULL)
		return;
	while (p != NULL)
	{
		printf("%d ", p->data);
		p = p->next;
	}
}

int main()
{
	Node LHead;
	InitLink(&LHead);
	Node p1, p2, p3, p4;
	p1.data = 1, p2.data = 2, p3.data = 3, p4.data = 4;
	LHead.next = &p1, p1.next = &p2, p2.next = &p3, p3.next = &p4, p4.next = NULL;
	Print(&LHead);

}